package com.lengyu.vxminiprogram.dto;

import com.lengyu.vxminiprogram.common.BaseEntity;
import com.lengyu.vxminiprogram.entity.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyu
 * @since 2024-11-28
 */
@Data
@Accessors(chain = true)
@ApiModel(value="WorkOrder对象", description="")
public class WorkOrderDto extends BaseEntity {

   private static final long serialVersionUID = 1L;

   private String title;

   private String userId;

   @ApiModelProperty(value = "微信openid")
   private String vxOpenId;

   @ApiModelProperty(value = "工单类型")
   private String orderType;

   @ApiModelProperty(value = "设备类型")
   private String deviceType;

   @ApiModelProperty(value = "紧急程度")
   private String priority;

   @ApiModelProperty(value = "截止日期")
   private LocalDate deadlineDate;

   @ApiModelProperty(value = "截止时间")
   private LocalTime deadlineTime;

   @ApiModelProperty(value = "现场照片")
   private String imgUrlList;

   @ApiModelProperty(value = "参与用户id")
   private String procUserIds;

   @ApiModelProperty(value = "工单说明")
   private String instruction;

   @ApiModelProperty(value = "工单当前状态：新建、处理中、已截止等")
   private String currentStatus;

   private Boolean deleteFlag;


   private String username;

   @ApiModelProperty(value = "微信昵称")
   private String vxNickName;

   @ApiModelProperty(value = "微信头像")
   private String vxAvatar;

   @ApiModelProperty(value = "电话号码")
   private String phoneNo;
   private List<WorkOrderUserView> workOrderUserList;
   private List<WorkOrderProcView> procList;
}
